// Unit Move flags.
const int XTracked		= 0x00000001;- 1
const int XFoot			= 0x00000002;- 2
const int XHalftrack	        = 0x00000004;- 4
const int XArmoredCar	        = 0x00000008;- 8
const int XTruck		= 0x00000010;- 16
const int XNoLtBridge	        = 0x00000020;- 32
const int XNoMedBridge	        = 0x00000040;- 64
const int XAmphibious	        = 0x00000080;- 128
const int XSki			= 0x00000100;- 256
const int XMotorcycle	        = 0x00000200;- 512
const int XTrain  		= 0x00000400;- 1024 //changed to Train from Bicycle May 2007
const int XHorse		= 0x00000800;- 2048
const int XBoat			= 0x00001000;- 4096
const int XRaft			= 0x00001000;- 4096
const int XWagon		= 0x00002000;- 8192
const int XNoHvyBridge	        = 0x00004000;- 16384
const int XAir   		= 0x00010000;- 65536  //added XAir May 2007
const int XShip 		= 0x00020000;- 131072 //added XShip May 2007

// Unit Carry flags.
const int XLoadable		= 0x00000001;1
const int XRidable		= 0x00000002;2
const int XTowable		= 0x00000004;4
const int XCarryAll		= 0x00000008;8
const int XCarryRider	        = 0x00000010;16
const int XCarryTow		= 0x00000020;32
const int XTowOnly		= 0x00000040;64
const int XPortage		= 0x00000080;128
const int XCanSki		= 0x00000100;256
const int XCanMotor		= 0x00000200;512
const int XCanBicycle	        = 0x00000400;1024
const int XCanHorse		= 0x00000800;2048
const int XHeavyGun		= 0x00001000;4096
const int XCarryHorse	        = 0x00002000;8192
const int XCarryBicycle	        = 0x00004000;16384
const int XCarryMotor	        = 0x00008000;32768
const int XCarryBoat	        = 0x00010000;65536

// Unit Fire flags.
const int XHardTarget		= 0x00000001;1
const int XNormalAA		= 0x00000002;2
const int XReducedAA/HVYAA	= 0x00000004;4
const int XIndirectFire		= 0x00000008;8
const int XSmokeFiring		= 0x00000010;16
const int XFireWater		= 0x00000020;32
const int XWhiteP	        = 0x00000040;64
const int XSAM			= 0x00000080;128 //added May 2007
const int XATGM			= 0x00000100;256 //added May 2007
const int XICM                  
const int XGunship		= 0x00000200;512 //added June 2008
const int XSneaker		= 0x00000400;1024 //added Nov 2007
const int XATG			= 0x00000800;2048 //added Nov 2007
const int XDaisyCutter		= 0x00001000;4096 //added Apr 2008 Not WW2

const int XGasFiring		= 0x00002000;8192 //added oct 2009 chem(No work)
const int XOneShot		= 0x00004000;16384 //added oct 2009 chem(No work)
const int XIllum		= 0x00008000;32768 //added oct 2009 OP(No work)


// Unit Other flags.
const int XCanDigIn		= 0x00000001;1
const int XMineClearing		= 0x00000002;2
const int XFireHardAI		= 0x00000004;4
const int XFireSoftAI		= 0x00000008;8
const int XReconAI		= 0x00000010;16
const int XAssaultAI		= 0x00000020;32
const int XRetreatAI		= 0x00000040;64
const int XCanDamage		= 0x00000080;128
const int XCarryAny		= 0x00000100;256
const int XIsDiveBomber		= 0x00000200;512
const int XPathfinder	        = 0x00000400;1024 //added April 08
const int XAirPlane		= 0x00000800;2048 //added May 2007
const int XHelicopter		= 0x00001000;4096 //added May 2007
const int XRecovery		= 0x00004000;16384 //added May 2007
const int XLayVehBridge		= 0x00008000;32768 //added May 2007
const int XLayFootBridge	= 0x00010000;65536 //added Feb 08
const int XSpecOps  		= 0x00020000;131072 //added April 08 not WW2


// Unit More flags.
const int XAssault		= 0x00000001;1
const int XOffAT		= 0x00000002;2
const int XDefAT		= 0x00000004;4
const int XInfSup		= 0x00000008;8
const int XFireHelo		= 0x00000010;16 //added May 2007
const int XLayMines		= 0x00000020;32 //added May 2007
const int XErectBarrier	        = 0x00000040;64 //added May 2007
const int XSuicide		= 0x00000080;128 //added May 2007
const int XBomber		= 0x00000100;256 //added Oct 2007
const int XReconUnit	        = 0x00000200;512 //added Nov 2007not WW2
const int XBldFtBridge	        = 0x00000400;1024 //added Mar 08
const int XFastUnit		= 0x00000800;2048 //added Nov 2007
const int XShovels		= 0x00001000;4096 //added Mar 2008
const int XRaider		= 0x00002000;8192 //added Apr 2008
const int XNightVision	        = 0x00004000;16383 //added May 2008(No work)
const int XSetIED		= 0x00008000;32768 //added Sep 2008

const int XAirSpotter	        = 0x00010000;65536 //added Nov 2009(No work)
const int XArtySpotter		= 0x00020000;131072 //added oct 2009 OP(No work)


Vietnam flags-

        move flags:  XTracked/XFoot/XHalftrack/XArmoredCar/XTruck/XNoLtBridge/XNoMedBridge/XAmphibious/XSki/XMotorcycle/XTrain/XHorse/XBoat/XRaft/XWagon/XNoHvyBridge/XAir/XShip

        carry flags:  XLoadable/XRidable/XTowable/XCarryAll/XCarryRider/XCarryTow/XTowOnly/XPortage/XCanSki/XCanMotor/XCanBicycle/XCanHorse/XHeavyGun/XCarryHorse/XCarryBicycle/XCarryMotor/XCarryBoat

        fire flags:  XHardTarget/XNormalAA/XReducedAA/XIndirectFire/XSmokeFiring/XFireWater/XWhiteP/XSAM/XATGM/XGunship/XSneaker/XATG/XDaisyCutter

        other flags:  XCanDigIn/XMineClearing/XFireHardAI/XFireSoftAI/XReconAI/XAssaultAI/XRetreatAI/XCanDamage/XCarryAny/XIsDiveBomber/XPathfinder/XAirPlane/XHelicopter/XRecovery/XLayVehBridge/XLayFootBridge/XSpecOps

        more flags:  XAssault/XOffAT/XDefAT/XInfSup/XFireHelo/XLayMines/XErectBarrier/XSuicide/XBomber/XReconUnit/XBldFtBridge/XFastUnit/XShovels/XRaider/XNightVision/XSetIED

